<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
  
</head>
<style>
 * {
        padding: 0;
        margin: 0;
    }
      .wer span{
        float: left;
        width: 100px;
        background-color: aqua;
      }
      .wer::after{
        content: attr(title);
        width: 100px;
        background-color: red;
      }
      .wer div{
        background-color: seagreen;
      }
</style>
<body>
 
   <div class="wer" title="4568">
      <span>1111</span>
      <div>789</div>
   </div>
</body>
<script>
    

    
</script>
</html>
